Convert pressure in kPa to PSI, mmHg and atmΒΆ
Convert pressure in kilopascals to pounds per square inch,
a millimeter of mercury (mmHg) and atmosphere pressure.
kpa = float(input("Input pressure in in kilopascals> "))
psi = kpa / 6.89475729
mmhg = kpa * 760 / 101.325
atm = kpa / 101.325
print("The pressure in pounds per square inch: %.2f psi" % (psi))
print("The pressure in millimeter of mercury: %.2f mmHg" % (mmhg))
print("Atmosphere pressure: %.2f atm." % (atm))
Output:
Input pressure in in kilopascals> 12.35
The pressure in pounds per square inch: 1.79 psi
The pressure in millimeter of mercury: 92.63 mmHg
Atmosphere pressure: 0.12 atm.